package com.treasure.mall.biz.dto.order;

import com.treasure.mall.biz.dto.BaseSaveDTO;
import com.treasure.mall.biz.entity.pay.PaymentBillPO;
import com.treasure.mall.zbq.common.ienum.order.OrderEnums;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author allan
 * @version 1.0.0
 * @date 2020/6/14
 */
@Data
public class BizOrderCreateDTO implements BaseSaveDTO {
    private static final long serialVersionUID = 8767100775232516486L;
    /**
     * 业务类型
     * {@link com.treasure.mall.zbq.common.ienum.order.OrderEnums.DealType}
     */
    private OrderEnums.DealType dealType;
    /**
     * 实付金额
     */
    private BigDecimal finalAmount;
    /**
     * 买家
     */
    private Long userId;
    /**
     * 付款单，业务订单是先付钱
     */
    private PaymentBillPO paymentBillPO;
    /**
     * 拍卖场次id
     */
    private Long sessionId;
    private OrderEnums.PayType payType;
    private String liveSessionId;
}
